package LIst;

public class Test {
    public static void main(String[] args) {
        MySingLeList mySingLeList =new MySingLeList();
        mySingLeList.creatList1();
       // mySingLeList.creatList2();
       // mySingLeList.display();
       // System.out.println(mySingLeList.cantions(4));
        //System.out.println(mySingLeList.size());
        //mySingLeList.clear();
       // mySingLeList.display();
       // mySingLeList.addFirst(6);
       // mySingLeList.addLast(9);
       // mySingLeList.addIndex(4,7);
        //mySingLeList.removeAllkey(3);
        //mySingLeList.reserve();
        //mySingLeList.middle();
       // System.out.println(m.value);
       // mySingLeList.hebing(mySingLeList.head,mySingLeList.head2);
        //System.out.println(mySingLeList.huiweng());
        // mySingLeList.paixulimition(4)
        //MySingLeList.ListNode ret =mySingLeList.equals(mySingLeList.head,mySingLeList.head2);
        //System.out.println(ret.value);
        System.out.println(mySingLeList.cycle());
        mySingLeList.display();
    }
}
